#include <Camera.h>
Public Member Functions | |
| followNodeMatrixManipulator (transformAccumulator *ta) | |
| bool | handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa) |
| void | updateTheMatrix () |
| virtual void | setByMatrix (const osg::Matrixd &mat) |
| virtual void | setByInverseMatrix (const osg::Matrixd &mat) |
| virtual osg::Matrixd | getInverseMatrix () const |
| virtual osg::Matrixd | getMatrix () const |
Protected Member Functions | |
| ~followNodeMatrixManipulator () | |
Protected Attributes | |
| transformAccumulator * | worldCoordinatesOfNode |
| osg::Matrixd | theMatrix |
Definition at line 73 of file Camera.h.
|
|
Definition at line 76 of file Camera.h. References theMatrix, and worldCoordinatesOfNode. |
|
|
destructor of the followNodeMatrixManipulator class. |
|
|
the virtual function of osgGA::MatrixManipulator base class.
Definition at line 78 of file Camera.cpp. References theMatrix. |
|
|
is the virtual function of osgGA::MatrixManipulator base class.
Definition at line 89 of file Camera.cpp. References theMatrix. |
|
||||||||||||
|
handle function checks for selected GUI events and responds to them. For our class, the only GUI event we need to respond to is the 'FRAME' event. At every frame event we need to set our copy of the matrix to be used to position the camera equal to the matrix that represents the transformAccumulator matrix Definition at line 94 of file Camera.cpp. References theMatrix, and updateTheMatrix(). |
|
|
the virtual function of osgGA::MatrixManipulator base class.
Definition at line 67 of file Camera.cpp. References theMatrix. |
|
|
the virtual function of osgGA::MatrixManipulator base class.
Definition at line 63 of file Camera.cpp. References theMatrix. |
|
|
a function changes the matrix for every FRAME callback Definition at line 71 of file Camera.cpp. References transformAccumulator::getMatrix(), theMatrix, and worldCoordinatesOfNode. Referenced by handle(). |
|
|
a variable that keeps the matrix of the camera node. Definition at line 126 of file Camera.h. Referenced by followNodeMatrixManipulator(), getInverseMatrix(), getMatrix(), handle(), setByInverseMatrix(), setByMatrix(), and updateTheMatrix(). |
|
|
a variable that keeps the coordinates of the node that is going to be followed. Definition at line 122 of file Camera.h. Referenced by followNodeMatrixManipulator(), and updateTheMatrix(). |
1.4.6-NO